package com.blb.community.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blb.community.entity.SysUser;
import com.blb.community.entity.vo.SysUserVO;

import java.util.List;

/**
 * <p>
 * 用户信息表 服务类
 * </p>
 *
 * @author 帅帅
 * @since 2022-07-02
 */
public interface ISysUserService extends IService<SysUser> {
    /**
     * 查询所有用户的信息
     *
     * @return
     */
    List<SysUserVO> getAllUserInfo();

    /**
     * 修改用户信息
     *
     * @param userVO
     */
    void updateUserInfo(SysUserVO userVO);

    /**
     * 查询用户
     *
     * @return
     */
    List<SysUserVO> getUserlist();

    /**
     * 导入添加
     *
     * @param list
     * @return
     */
    void addList(List<SysUser> list);

    /**
     * 模糊查询
     *
     * @return
     */
    IPage<List<SysUserVO>> getUserLimitList(SysUserVO sysUserVO);

    /**
     * 添加用户
     *
     * @param sysUserVO
     */
    void addUser(SysUserVO sysUserVO);
}
